from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *
from Ui_diaAbout import Ui_Dialog

class DiaAbout(QDialog):
    def __init__(self, parent = None):
        super(DiaAbout, self).__init__(parent)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)
        img_icon = QIcon(":/res/snow.ico")
        self.ui.label.setPixmap(img_icon.pixmap(QSize(64, 64)))
    
    @pyqtSlot(bool)
    def on_pushButton_clicked(self, checked):
        self.close()
